//
//  YAYISettingModel.m
//  YAYIDoctor
//
//  Created by Veer on 16/5/6.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import "YAYISettingItemModel.h"

@implementation YAYISettingItemModel


- (instancetype)init
{
    if (self = [super init]) {
        self.isHaveArrow = YES;
    }
    return self;
}


+ (instancetype)itemWithIcon:(NSString *)icon name:(NSString *)name
{
    return [self itemWithIcon:icon name:name detail:nil];
}

+ (instancetype)itemWithIcon:(NSString *)icon name:(NSString *)name detail:(NSString *)detail
{
    YAYISettingItemModel *item = [self item];
    item.icon = icon;
    item.name = name;
    item.detail = detail;
    
    return item;
}




+ (instancetype)item
{
    return [[self alloc] init];
}

@end
